from typing import List, Optional
from sqlalchemy import create_engine, Column, Integer, String
from sqlalchemy.ext.declarative import declarative_base

Base = declarative_base()

# 定义返回数据格式
class UserEntity(Base):
    __tablename__ = 'user_tb'
    user_id = Column(String, primary_key=True)
    user_name = Column(String, nullable=False)
    user_password = Column(String, nullable=False)
    user_role = Column(String, nullable=False)


